{
	"info": {
		"_postman_id": "9f2cd5b5-ee9c-4a7d-bd70-6d716a7f2690",
		"name": "Kursova",
		"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json",
		"_exporter_id": "27205310"
	},
	"item": [
		{
			"name": "events",
			"item": [
				{
					"name": "/events/add",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"title\": \"Провожу мероприятие\",\r\n    \"description\": \" начала XVI века. большую коллекцию размеров и форм шрифтов, используя Lorem Ipsum для распечатки образцов. Lorem Ipsum не только успешно пережил без заметных изменений пять веков,\",\r\n    \"event_data\": \"22.04.2024\",\r\n    \"place\": \"Калининград, северный\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/events/add",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"events",
								"add"
							]
						}
					},
					"response": []
				},
				{
					"name": "/events/edit",
					"request": {
						"method": "PATCH",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"id\": 1,\r\n    \"title\": \"title\",\r\n    \"description\": \"description\",\r\n    \"event_data\": \"22.11.2023\",\r\n    \"place\": \"Moskos\",\r\n    \"status\": 0\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/events/edit",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"events",
								"edit"
							]
						}
					},
					"response": []
				},
				{
					"name": "/events/get",
					"protocolProfileBehavior": {
						"disableBodyPruning": true
					},
					"request": {
						"method": "GET",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"phone\": \"89990000012\",\r\n    \"password\": \"password\"\r\n    \r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/events/get",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"events",
								"get"
							]
						}
					},
					"response": []
				},
				{
					"name": "/events/get/{id}",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/events/get/2",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"events",
								"get",
								"2"
							]
						}
					},
					"response": []
				},
				{
					"name": "/event/devete/{id}",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/events/delete/4",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"events",
								"delete",
								"4"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "admin",
			"item": [
				{
					"name": "/admin/registration",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"phone\": \"89990000434\",\r\n    \"password\": \"password\",\r\n    \"confirm_password\": \"password\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/admin/registration",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"admin",
								"registration"
							]
						}
					},
					"response": []
				},
				{
					"name": "/admin/auth",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"phone\": \"89990000000\",\r\n    \"password\": \"password\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/admin/auth",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"admin",
								"auth"
							]
						}
					},
					"response": []
				},
				{
					"name": "/admin/get",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/admin/get",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"admin",
								"get"
							]
						}
					},
					"response": []
				},
				{
					"name": "/admin/get/{id}",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/admin/get/1",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"admin",
								"get",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "/admin/exit",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/admin/exit",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"admin",
								"exit"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "users",
			"item": [
				{
					"name": "/users/delete/{id}",
					"request": {
						"method": "DELETE",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/users/delete/4",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"users",
								"delete",
								"4"
							]
						}
					},
					"response": []
				},
				{
					"name": "/users/get",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/users/get",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"users",
								"get"
							]
						}
					},
					"response": []
				},
				{
					"name": "/users/get/{id}",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/users/get/1",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"users",
								"get",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "/users/registration",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"phone\": \"89990000000\",\r\n    \"code\": 4654\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/users/registration",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"users",
								"registration"
							]
						}
					},
					"response": []
				},
				{
					"name": "/user/edit",
					"request": {
						"method": "PATCH",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"id\": 2,\r\n    \"phone\": \"89990009988\",\r\n    \"age\": 18,\r\n    \"name\": \"Vasa\",\r\n    \"email\": \"email@email.email\",\r\n    \"token\": \"d29237ba6f8b34790bf754a3a21407d3\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/users/edit",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"users",
								"edit"
							]
						}
					},
					"response": []
				},
				{
					"name": "/user/smsCode",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"phone\": \"89990000000\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/users/smsCode",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"users",
								"smsCode"
							]
						}
					},
					"response": []
				},
				{
					"name": "/users/info",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"token\": \"d29237ba6f8b34790bf754a3a21407d3\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/users/info",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"users",
								"info"
							]
						}
					},
					"response": []
				},
				{
					"name": "/users/orders",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"token\": \"d29237ba6f8b34790bf754a3a21407d3\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/users/orders",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"users",
								"orders"
							]
						}
					},
					"response": []
				},
				{
					"name": "/users/events",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"token\": \"d29237ba6f8b34790bf754a3a21407d3\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/users/events",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"users",
								"events"
							]
						}
					},
					"response": []
				}
			]
		},
		{
			"name": "orders",
			"item": [
				{
					"name": "/orders/add",
					"request": {
						"method": "POST",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"user_id\": 2,\r\n    \"event_id\": 2,\r\n    \"token\": \"d29237ba6f8b34790bf754a3a21407d3\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/orders/add",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"orders",
								"add"
							]
						}
					},
					"response": []
				},
				{
					"name": "/orders/delete",
					"request": {
						"method": "DELETE",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"user_id\": 2,\r\n    \"event_id\": 2,\r\n    \"token\": \"d29237ba6f8b34790bf754a3a21407d3\"\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/orders/delete",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"orders",
								"delete"
							]
						}
					},
					"response": []
				},
				{
					"name": "/orders/get",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/orders/get",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"orders",
								"get"
							]
						}
					},
					"response": []
				},
				{
					"name": "/orders/get/{id}",
					"request": {
						"method": "GET",
						"header": [],
						"url": {
							"raw": "http://localhost:80/api/orders/get/1",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"orders",
								"get",
								"1"
							]
						}
					},
					"response": []
				},
				{
					"name": "/orders/edit",
					"request": {
						"method": "PATCH",
						"header": [],
						"body": {
							"mode": "raw",
							"raw": "{\r\n    \"id\": 1,\r\n    \"status\": 0\r\n}",
							"options": {
								"raw": {
									"language": "json"
								}
							}
						},
						"url": {
							"raw": "http://localhost:80/api/orders/edit",
							"protocol": "http",
							"host": [
								"localhost"
							],
							"port": "80",
							"path": [
								"api",
								"orders",
								"edit"
							]
						}
					},
					"response": []
				}
			]
		}
	]
}